//
//  UILabel+Extension.swift
//  微博
//
//  Created by mac on 15/12/17.
//  Copyright © 2015年 itcats. All rights reserved.
//

import UIKit

extension UILabel {

    convenience init(title: String,color: UIColor,fontSize: CGFloat) {
    self.init()
        text = title
        textColor = color
       textAlignment = .Center
        font = UIFont.systemFontOfSize(fontSize)
        numberOfLines = 0
        sizeToFit()
    }

}